package entities;

/**
 * @author Omri Barda		039725890 
 * @author Amit Joseph		034608547
 * @author Gilad Shpigel  	300162393
 * @author Elad Elbaz		040539959
 * @version June 2012
 */

import java.io.Serializable;
import java.sql.Date;

public abstract class ExamAbstract implements ExamType, Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * the finish status
	 */
	final public static int STATUS_LOCKED = 3;
	final public static int STATUS_TIMESUP = 2;
	final public static int STATUS_STUDENT_FINISHED = 1;
	final public static int STATUS_ACTIVE = 0;

	protected String examCode; // PrimaryKey
	protected int studentID; // PrimaryKey
	protected int examDurationTime;
	protected Date examBeginingHour;
	protected Date examEndingHour;
	protected int examGrade;
	protected int examCreatorID; // the lecturerID that extracted the exam
	protected String examStudentInstructions;
	protected String examLecturerInstructions;
	protected int examFinishStatus;

}